<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/common/meta.jsp"%>
<link href="<s:url value='/css/main.css'/>" rel="stylesheet"
	type="text/css" />
<script type="text/javascript" language="JavaScript"
	src="<s:url value='/js/jquery/jquery-1.3.2.min.js'/>"></script>
<script type="text/javascript"
	src="<s:url value='/ckeditor/ckeditor.js'/>"></script>
<script type="text/javascript"
	src="<s:url value='/js/DatePicker/DatePicker.js'/>"></script>
<title>公告编辑</title>
</head>
<body>
<s:if test="%{message != null}">
	<font color="red"><s:property value="message" escape="false" /></font>
</s:if>
<br />
<s:form action="NoticeSave" namespace="/" method="post">
<s:hidden name="item.id"></s:hidden>
<table width="100%" border="0" cellpadding="3" cellspacing="1"
	bgcolor="#E2E2E2">
	<tr class="tr1">
		<td colspan="2">公告编辑</td>
	</tr>
	<tr class="tab">
		<td class="td1">标题：<font color="red">*</font></td>
		<td><s:textfield name="item.title" size="50"></s:textfield></td>
	</tr>
	<tr class="tab">
		<td class="td1">内容：<font color="red">*</font></td>
		<td>
			<s:textarea id="editor" name="item.content" cols="50" rows="10"></s:textarea>
			<script type="text/javascript">
			//<![CDATA[
				CKEDITOR.replace( 'editor' );
			//]]>
			</script>
						
		</td>
	</tr>
	<tr class="tab">
		<td colspan="2"><s:submit cssClass="button" value="保存"></s:submit></td>
	</tr>
</table>
</s:form>
<br />
</body>
</html>